<template>
	<view>
		<view class="smart-panel-title"@click="goDetailPage('login')"><text>登陆系统</text></view>
		<view class="smart-panel-title"@click="goDetailPage('city')"><text>城市探索</text></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goDetailPage(e){
				if(typeof e === 'string')
				{
					uni.navigateTo({
						url: '/pages/components/' + e + '/' + e
					});
				}else {
					uni.navigateTo({
						url: e.url
					});
				}
			}
		}
	}
</script>

<style>

</style>
